package com.hansming.bss.modules.sfc.entity;

import java.math.BigDecimal;
import java.util.Date;

import org.hibernate.validator.constraints.Length;

import com.hansming.bss.common.persistence.DataEntity;
import com.hansming.bss.modules.sys.entity.User;

/**
 * 评论Entity
 * @author Hansming
 * @version 2017-09-19
 */
public class SfcComments extends DataEntity<SfcComments> {

	private static final long serialVersionUID = 1L;
	

	private int type;//根据类别判断为哪一种的评论	(1、租车，2、线路）
	private static final int cartype = 1;
	private static final int linetype = 2;
	private String id;//评论id
	private String content_id;	//商品ID
	
	private String title;	// 归属分类内容的标题
	private String content; // 评论内容
	private String name; 	// 评论姓名
	private Customer customer; 	// 评论顾客id
	private Date createDate;// 评论时间
	private String delFlag;	// 删除标记删除标记（0：正常；1：删除；2：审核）

	
	public String getContent_id() {
		return content_id;
	}
	public void setContent_id(String content_id) {
		this.content_id = content_id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public Date getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	public String getDelFlag() {
		return delFlag;
	}
	public void setDelFlag(String delFlag) {
		this.delFlag = delFlag;
	}
	public int getType() {
		return type;
	}
	public void setType(int type) {
		this.type = type;
	}
	public Customer getCustomer() {
		return customer;
	}
	public void setCustomer(Customer customer) {
		this.customer = customer;
	}
	public static int getCartype() {
		return cartype;
	}
	public static int getLinetype() {
		return linetype;
	}
	
	

}
